<!DOCTYPE html>
<!--引入thymeleaf空间约束，可以提示-->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>login</title>
</head>
<body style="text-align: center">
<!--/*@thymesVar id="message" type="java.lang.String"*/-->

<h1>登陆</h1>
<hr>
<div><p th:text="${message}"></p></div>
<div>
    <form th:action="@{/user/login}" method="post">
        <div><label>userName<input type="text" name="username"/></label></div>
        <div><label>password<input type="password" name="password"/> </label></div>
        <div><input type="submit" value="Sign In"/></div>
    </form>
</div>
</body>
</html>